import axios from "./axios.config";
import util from "./util";

class GoodsApi{
  async addGoods(data){
    console.log("#################");
    console.log(data);
    console.log("#################");
    let result = await axios.post("/goods/add/",data);
    return util.jsonTransfer(result);
  }
}

export default GoodsApi;
